<?xml version="1.0" encoding="${encode}"?>
<txweb>   
    <package name="${namespace}" extends="global" namespace="${namespace}">
           <default>
            <!--
            <page-interceptor-ref name="defInterceptor"/>
            -->
            <interceptor-ref name="defInterceptor"/>
            <result name="untitled" type="redirect">\${untitledUrl}</result>
            <result name="login" type="redirect">\${userLoginUrl}</result>
        </default>

        <!--允许对外访问begin-->
        <action name="untitled" class="globalAction" pass="defInterceptor" />
        <action name="error" class="globalAction" pass="defInterceptor" />
        <action name="login" class="baseUserAction" method="login" pass="defInterceptor">
            <result name="success" type="redirect">${userLoginUrl}</result>
        </action>
    </package>

    <package name="admin" extends="${namespace}" namespace="${namespace}/admin">
        <default>
            <interceptor-ref name="defInterceptor"/>
            <interceptor-ref name="actionLogInterceptor"/>
            <result name="untitled" type="redirect">\${untitledUrl}</result>
            <result name="login" type="redirect">\${manageLoginUrl}</result>
        </default>
        <!--perm and role begin -->
        <action name="\w+role|\w+perm|perm\S*" class="permissionManageAction" method="@method"/>
        <!--perm and role end -->

        <!--view begin-->
        <action name="menuvo" class="globalAction" pass="userInterceptor"/>
        <!--view end-->
        <action name="editconfig" class="editConfigAction" method="save"/>
        <!--日志 begin-->
        <action name="acactionlog|actionloglist" class="actionLogAction" method="@method" />
        <!--日志 begin-->
    </package>
    <package name="help" extends="${namespace}" namespace="${namespace}/help">
        <action name="*" class="helper" pass="defInterceptor;licenseInterceptor"/>
    </package>

    <package name="validator" extends="${namespace}" namespace="${namespace}/validator">
        <action name="*" class="validator" pass="defInterceptor;licenseInterceptor"/>
    </package>
</txweb>